/**
 * 
 */

var login;
var search_id;
var search_pw;
var sign_up;

//submit_form
var sb_form;

function mainInit() {
	
	login = document.getElementById("main_btn_login");
	if(login != null){
		login.onclick = function() {
			sb_form = document.main_login;
			
			sb_form.action = "../employees/login_process.jsp";
			sb_form.submit();
		}
	}
}

function id_search_popup() {
	var frm=document.submit_signup;
	
	var pop = window.open('/group2/employees/search_id_popup.jsp','new', 'width=320, height=300, resizable=no, location=no, menubar=no, scrollbars=no, status=no,fullscreen=no,channelmode=no, left=100, top=100');
	pop.focus();
}

function pw_search_popup() {
	
	var pop = window.open('/group2/employees/search_pw_popup.jsp', 'new', 'width=320, height=300, resizable=no, location=no, menubar=no, scrollbars=no, status=no,fullscreen=no,channelmode=no, left=100, top=100');
	pop.focus();
}

function signup() {
	
	var pop = window.open('/group2/employees/signup.jsp', 'new', 'width=450, height=650, resizable=no, location=no, menubar=no, scrollbars=no, status=no,fullscreen=no,channelmode=no, left=50, top=0');
	pop.focus();
}